package com.scoresystem.dao;

import com.scoresystem.model.Teacher;
/**
 * 
 * @author Administrator
 *
 */
public interface ITeacherDao {
	/**
	 * 管理员录入教师信息
	 * @param teacher
	 * @return
	 */
	public boolean add(Teacher teacher);
	/**
	 * 修改教师信息
	 * @param Teacher
	 * @return
	 */
	public boolean modify(Teacher teacher);
	/**
	 * 批量删除教师信息
	 * @param worknum
	 * @return
	 */
	public boolean deleteTeachers(String[] worknum);
	/**
	 * 根据教师姓名查找
	 * @param teaname
	 * @return
	 */
	public Teacher findbyName(String teaname);
	/**
	 * 根据职工号查询
	 * @param worknum
	 * @return
	 */
	public Teacher findbyNum(String worknum);
	
}
